﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SetAdver.aspx.cs" Inherits="webadmin_SetAdver" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link type="text/css" href="css/style.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
   <div id="conBox">
            <div class="grid-box" style="padding-top: 10px">
                <table class="form-table">
                    <thead>
                        <tr>
                            <td colspan="3">
                            首页中间广告条
                            </td>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="tr1" style="width:200px;">
                            <th>名称：</th>
                            <td><asp:TextBox ID="txtHomeName" runat="server" CssClass="txtbox"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <th>链接地址：</th>
                            <td><asp:TextBox ID="txtHomeLink" runat="server" CssClass="txtbox" Text=""></asp:TextBox></td>
                        </tr>
                        <tr class="tr1">
                            <th>
                                选择图片：
                            </th>
                            <td>
                                <asp:HiddenField ID="hfHomeImg" runat="server" /><asp:HiddenField ID="hfHomeID" runat="server" /><asp:FileUpload ID="fuHomeImg" runat="server" size="24" /></td>
                        </tr>
                        <tr>
                            <th>
      
                            </th>
                            <td>
                                <asp:Image ID="imgHome" runat="server" Width="968" /></td>
                        </tr>
                        <tr  class="tr1">
                            <th>
                            </th>
                            <td style="line-height: 30px;">
                                <asp:Button ID="btnSubmit" runat="server" Text="提 交" OnClick="btnSubmit_Click" CssClass="button" /></td>
                        </tr>
                    </tbody>
                </table>
              <%--  <table class="form-table">
                    <thead>
                        <tr>
                            <td colspan="3">
                            首页中间广告条
                            </td>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="tr1" style="width:200px;">
                            <th>名称：</th>
                            <td><asp:TextBox ID="txtHomeName1" runat="server" CssClass="txtbox"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <th>链接地址：</th>
                            <td><asp:TextBox ID="txtHomeLink1" runat="server" CssClass="txtbox" Text=""></asp:TextBox></td>
                        </tr>
                        <tr class="tr1">
                            <th>
                                选择图片：
                            </th>
                            <td>
                                <asp:HiddenField ID="hfHomeImg1" runat="server" /><asp:HiddenField ID="hfHomeID1" runat="server" /><asp:FileUpload ID="fuHomeImg1" runat="server" size="24" /></td>
                        </tr>
                        <tr>
                            <th>
      
                            </th>
                            <td>
                                <asp:Image ID="imgHome1" runat="server" Width="968" /></td>
                        </tr>
                        <tr  class="tr1">
                            <th>
                            </th>
                            <td style="line-height: 30px;">
                                <asp:Button ID="btnSubmit2" runat="server" Text="提 交" OnClick="btnSubmit2_Click" CssClass="button" /></td>
                        </tr>
                    </tbody>
                </table>--%>
                <table class="form-table">
                    <thead>
                        <tr>
                            <td colspan="3">
                            文章内页广告条
                            </td>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="tr1" style="width:200px;">
                            <th>名称：</th>
                            <td><asp:TextBox ID="txtArticleName" runat="server" CssClass="txtbox"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <th>链接地址：</th>
                            <td><asp:TextBox ID="txtArticleLink" runat="server" CssClass="txtbox" Text=""></asp:TextBox></td>
                        </tr>
                        <tr class="tr1">
                            <th>
                                选择图片：
                            </th>
                            <td>
                                <asp:HiddenField ID="hfArticleImg" runat="server" /><asp:HiddenField ID="hfArticleID" runat="server" /><asp:FileUpload ID="fuArticleImg" runat="server" size="24" /></td>
                        </tr>
                        <tr>
                            <th>
      
                            </th>
                            <td>
                                <asp:Image ID="imgArticle" runat="server" Width="219" /></td>
                        </tr>
                        <tr  class="tr1">
                            <th>
                            </th>
                            <td style="line-height: 30px;">
                                <asp:Button ID="btnSubmit1" runat="server" Text="提 交" CssClass="button" 
                                    onclick="btnSubmit1_Click" /></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </form>
</body>
</html>
